//
// Created by 束庆乐 on 2024/12/29.
//
#include "iostream"
using namespace std;

int main009(){
    //整型的输入
    int a = 0;
    cout << "请输入整数：" << endl;
    cin >> a;
    cout << "输入的结果：" << a << endl;

    //浮点型输入
    double d = 0;
    cout << "请输入浮点数：" << endl;
    cin >> d;
    cout << "输入的结果：" << d << endl;

    //字符输入
    char ch = 0;
    cout << "请输入字符：" << endl;
    cin >> ch;
    cout << "输入的结果 " << ch << endl;

    //字符串输入
    string str;
    cout << "请输入字符串：" << endl;
    cin >> str;
    cout << "输入结构：" << str << endl;

    //布尔类型输入
    bool flag = true;
    cout << "请输入布尔变量" << endl;
    cin >> flag;
    cout << "输入结果：" << flag << endl;

    return EXIT_SUCCESS;
}

